package com.infitecs.eyas.quality.model;

import com.infitecs.eyas.util.NumberUtil;

import java.util.List;

/**
 * Created by Demon on 2015/4/23.
 */
public class Element {
    private int id;
    private double car;
    private double har;
    private double oar;
    private double nar;
    private double sar;
    private double qnetAr;
    private double qnetArOther;
    private double qgrAr;
    private double qgrArOther;
    private double sum;
    private int powerCaseId;
    //mzfx收到基挥发分Var(%)
    private String qnetArState;
    //收到基低位发热量Qnet.ar
    private String qnetArOtherState;
    //收到基低位发热量Qnet.ar,other
    private String qgrArState;
    //收到基高位发热量Qgr.ar
    private String qgrArOtherState;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public double getCar() {
        return car;
    }

    public String getCarShow() {
        return NumberUtil.trimZero(car + "");
    }

    public void setCar(double car) {
        this.car = car;
    }

    public double getHar() {
        return har;
    }

    public String getHarShow() {
        return NumberUtil.trimZero(har + "");
    }

    public void setHar(double har) {
        this.har = har;
    }

    public double getOar() {
        return oar;
    }

    public String getOarShow() {
        return NumberUtil.trimZero(oar + "");
    }

    public void setOar(double oar) {
        this.oar = oar;
    }

    public double getNar() {
        return nar;
    }

    public String getNarShow() {
        return NumberUtil.trimZero(nar + "");
    }

    public void setNar(double nar) {
        this.nar = nar;
    }

    public double getSar() {
        return sar;
    }

    public String getSarShow() {
        return NumberUtil.trimZero(sar + "");
    }

    public void setSar(double sar) {
        this.sar = sar;
    }

    public double getQnetAr() {
        return qnetAr;
    }

    public String getQnetArShow() {
        return NumberUtil.trimZero(qnetAr + "");
    }

    public void setQnetAr(double qnetAr) {
        this.qnetAr = qnetAr;
    }

    public double getQnetArOther() {
        return qnetArOther;
    }

    public String getQnetArOtherShow() {
        return NumberUtil.trimZero(qnetArOther + "");
    }

    public void setQnetArOther(double qnetArOther) {
        this.qnetArOther = qnetArOther;
    }

    public double getQgrAr() {
        return qgrAr;
    }

    public String getQgrArShow() {
        return NumberUtil.trimZero(qgrAr + "");
    }

    public void setQgrAr(double qgrAr) {
        this.qgrAr = qgrAr;
    }

    public double getQgrArOther() {
        return qgrArOther;
    }

    public String getQgrArOtherShow() {
        return NumberUtil.trimZero(qgrArOther + "");
    }

    public void setQgrArOther(double qgrArOther) {
        this.qgrArOther = qgrArOther;
    }

    public int getPowerCaseId() {
        return powerCaseId;
    }

    public double getSum() {
        return sum;
    }
    public String getSumShow() {
        return NumberUtil.trimZero(sum + "");
    }
    public double setSum(double sum) {
        return this.sum = sum;
    }

    public void setPowerCaseId(int powerCaseId) {
        this.powerCaseId = powerCaseId;
    }

    public String getQnetArState() {
        return qnetArState;
    }

    public void setQnetArState(String qnetArState) {
        this.qnetArState = qnetArState;
    }

    public String getQnetArOtherState() {
        return qnetArOtherState;
    }

    public void setQnetArOtherState(String qnetArOtherState) {
        this.qnetArOtherState = qnetArOtherState;
    }

    public String getQgrArState() {
        return qgrArState;
    }

    public void setQgrArState(String qgrArState) {
        this.qgrArState = qgrArState;
    }

    public String getQgrArOtherState() {
        return qgrArOtherState;
    }

    public void setQgrArOtherState(String qgrArOtherState) {
        this.qgrArOtherState = qgrArOtherState;
    }
}
